Versions:

  • 0.3.2

postern by willibrandon is a language server and checker for PostgreSQL configuration files. It reads postgresql.conf, postgresql.auto.conf, pg_hba.conf and pg_ident.conf in the same way the PostgreSQL server does and reports what the server would refuse. The tool can be used in two ways. As a language server, it integrates with editors through the Language Server Protocol and reports problems while a configuration file is being edited. As a command, it checks the files and exits with a non-zero status when one of them is wrong, which makes it usable in scripts and automated checks. The software belongs to the category of database tools, linters and developer utilities. Errors in PostgreSQL configuration files often become visible only when the server is reloaded or restarted, and a faulty pg_hba.conf can lock clients out. Typical use cases are therefore validating changes before they are deployed, adding a configuration check to a CI pipeline or to infrastructure automation, and receiving immediate feedback in the editor. The current release is version 0.3.2.

Tags: